package com.xy.modular.owner.service.impl;
import com.xy.framework.base.dao.IBaseDao;
import com.xy.framework.base.service.BaseServiceImpl;
import com.xy.framework.exceptions.ValidateParamException;
import com.xy.modular.owner.dao.OwnerRoleMapper;
import com.xy.modular.owner.model.OwnerRole;
import com.xy.modular.owner.service.IOwnerRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 *
 * Created by BCK on 2019/09/14.
 */
@Service("ownerRoleService")
public class OwnerRoleServiceImpl extends BaseServiceImpl<OwnerRole, String> implements IOwnerRoleService{

	@Autowired
    private OwnerRoleMapper ownerRoleMapper;

	@SuppressWarnings("rawtypes")
	@Override
	protected IBaseDao getBaseDao() {
		return this.ownerRoleMapper;
	}
	
	public void validateEntity(OwnerRole OwnerRole) throws ValidateParamException {
		// TODO Auto-generated method stub
	}
}
